package com.fjwt.gz.service.mapper;

import com.fjwt.gz.db.entity.AuAuditFlowEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 审批流程表说明 Mapper 接口
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
public interface AuAuditFlowMapper extends BaseMapper<AuAuditFlowEntity> {

    /**
     * 根据审批类型id 获取审批流程
     * @param auditId
     * @return
     */
    AuAuditFlowEntity selectAuditFlowByAuditIdAndLevel(@Param("auditId") Long auditId, @Param("level")Integer level);

}
